﻿using Microsoft.AspNetCore.Mvc;
using System.DrawingCore;
using System.Threading.Tasks;

namespace NetCore.PersonalCaches
{
    /// <summary>
    /// 个性化缓存
    /// </summary>
    public interface IPersonalCacheAppService
    {
        Task<Bitmap> Verify();

        Task<IActionResult> VerifyCode();

        FileResult GetValidCodeImage();

        string GetValidCodeString();
    }
}
